package com.cloudcc.mobile.entity.comment;

import java.io.Serializable;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Finder;
import com.lidroid.xutils.db.annotation.Table;

@SuppressWarnings("serial")
@Table(name = "Comments")
public class Comments implements Serializable {
	@Column(column = "parendId")
	public String parendId;

	@Column(column = "id")
	public String id;

	@Column(column = "body")
	public String body;//

	@Column(column = "authorIdname")
	public String authorIdname;//

	@Column(column = "praisenum")
	public String praisenum;//

	@Column(column = "createDate")
	public String createDate;//

	@Column(column = "ispraised")
	public boolean ispraised;

	@Column(column = "photo")
	public boolean photo;//

	@Column(column = "authorId")
	public String authorId;//

	@Finder(valueColumn = "id", targetColumn = "parentId")
	public CommentsFile commentsFile;

	public String getParendId() {
		return parendId;
	}

	public void setParendId(String parendId) {
		this.parendId = parendId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getAuthorIdname() {
		return authorIdname;
	}

	public void setAuthorIdname(String authorIdname) {
		this.authorIdname = authorIdname;
	}

	public String getPraisenum() {
		return praisenum;
	}

	public void setPraisenum(String praisenum) {
		this.praisenum = praisenum;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public boolean isIspraised() {
		return ispraised;
	}

	public void setIspraised(boolean ispraised) {
		this.ispraised = ispraised;
	}

	public boolean isPhoto() {
		return photo;
	}

	public void setPhoto(boolean photo) {
		this.photo = photo;
	}

	public String getAuthorId() {
		return authorId;
	}

	public void setAuthorId(String authorId) {
		this.authorId = authorId;
	}

	public CommentsFile getCommentsFile() {
		return commentsFile;
	}

	public void setCommentsFile(CommentsFile commentsFile) {
		this.commentsFile = commentsFile;
	}

}
